What are the differences between window.history api vs history interface if I can use "window.history.back()"API or "history.back()"interface to go back a page?
There is no difference. If there is no defined history variable in your scope JS tries to find it on the outer scopes up to the global object which is window where history is already defined.